import { h } from "vue";

import { HomeOutlined, } from "@ant-design/icons-vue";
import deepCopy from "@/utils/deepCopy";
import plantBase from "./modules/plantBase";
import produce from "./modules/produce";
import seedTask from './modules/seedTask'
import quality from "./modules/quality";
import plantTask from './modules/plantTask'
import harvestTask from "./modules/harvestTask";

const allMenuData = [
    {
      key: Math.random() + "",
      label: "首页",
      title: "首页",
      url: "/home/home",
      code: "productionHome",
      icon: () => h(HomeOutlined),
    },

    // plantBase,
    // produce,
    // seedTask,
    // quality,
    // plantTask,
    // harvestTask
    
];


export const useMenuData = () => {
  let m = deepCopy(allMenuData)

  return m
};
